package com.qztech.sdk.model.entities;

import androidx.room.ColumnInfo;
import androidx.room.Entity;
import androidx.room.PrimaryKey;
import androidx.annotation.NonNull;

/**
 * @author:zhanghb
 * @date:2019/2/22
 * @email:2573475062@qq.com
 **/
@Entity(tableName = "su_channel")
public class SummingChannel implements Cloneable{
    @PrimaryKey(autoGenerate = true)
    private long id;

    @ColumnInfo(name = "channel")
    protected int channel;

    @ColumnInfo(name = "setting_id")
    @NonNull
    private String settingId;

    @ColumnInfo(name = "out_val")
    private int outVal;

    public SummingChannel() {
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public int getChannel() {
        return channel;
    }

    public void setChannel(int channel) {
        this.channel = channel;
    }

    @NonNull
    public String getSettingId() {
        return settingId;
    }

    public void setSettingId(@NonNull String settingId) {
        this.settingId = settingId;
    }

    public int getOutVal() {
        return outVal;
    }

    public void setOutVal(int outVal) {
        this.outVal = outVal;
    }

    @Override
    protected Object clone() throws CloneNotSupportedException {
        return super.clone();
    }
}
